<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>问诊结果</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">  
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" href="<%=basePath%>css/weui.css" />
<link rel="stylesheet" href="<%=basePath%>css/example.css" />
<script type="text/javascript" src="./js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="./js/result.js"></script>
  </head>
  <script type="text/javascript">
  var basePath="<%=basePath%>";
  </script>
  <body ontouchstart>
<div class="container">
		<div class="header"></div>
		<div class="page clearfix">
		
	<h3 style="text-align: center;color: green;margin-top: 50px;">自诊结果</h3>
			<article class="weui_article"  >
			<i class="weui_icon_info_circle"></i>&nbsp;您的病症是：<span id="symsused"><b>${symsused}</b></span> 
			</article>
			<article class="weui_article"  >
			<i class="weui_icon_info_circle"></i>&nbsp;您的自诊结果是：<span id="illness"><b >${model.illness}</b></span> 
			</article>
			<article class="weui_article"  > 
			<i class="weui_icon_info_circle"></i> &nbsp;诊疗方案是：<span id="scheme"><b >${model.scheme}</b> </span> 
			</article>
			<article class="weui_article"  >
			<i class="weui_icon_info_circle"></i> &nbsp;用药： <span id="medicine"><b>${model.medicine}</b></span>
			</article>
			<article class="weui_article"  >
			<i class="weui_icon_info_circle"></i> &nbsp;病因： <span id="pathogen"><b>${model.pathogen}</b></span>
			</article>
			<article class="weui_article"  >
			<i class="weui_icon_info_circle"></i> &nbsp;辅助检查： <span id="assistantExam"><b>${model.assistantExam}</b></span>
			</article>
			
			
		</div>
<input type="hidden" id="symsused" value="${symsused }">

		<div class="weui_extra_area" style="margin-bottom: 25px;background-color: #888">
		系统已为您生成病历，点击可保存<br>
		<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary"style="background-color: red"  onclick="noSave();">不了，谢谢</a>
		<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary"  onclick="toSave();">保存</a>
        </div>
	</div>

  <!--     toast开始 -->
        <div id="loadingToast" class="weui_loading_toast" style="display: none;">
				<div class="weui_mask_transparent"></div>
				<div class="weui_toast">
					<div class="weui_loading">
						<div class="weui_loading_leaf weui_loading_leaf_0"></div>
						<div class="weui_loading_leaf weui_loading_leaf_1"></div>
						<div class="weui_loading_leaf weui_loading_leaf_2"></div>
						<div class="weui_loading_leaf weui_loading_leaf_3"></div>
						<div class="weui_loading_leaf weui_loading_leaf_4"></div>
						<div class="weui_loading_leaf weui_loading_leaf_5"></div>
						<div class="weui_loading_leaf weui_loading_leaf_6"></div>
						<div class="weui_loading_leaf weui_loading_leaf_7"></div>
						<div class="weui_loading_leaf weui_loading_leaf_8"></div>
						<div class="weui_loading_leaf weui_loading_leaf_9"></div>
						<div class="weui_loading_leaf weui_loading_leaf_10"></div>
						<div class="weui_loading_leaf weui_loading_leaf_11"></div>
					</div>
					<p class="weui_toast_content">保存中...</p>
				</div>
			</div>
			
			<div id="toast" style="display: none;">
        <div class="weui_mask_transparent"></div>
        <div class="weui_toast">
            <i class="weui_icon_toast"></i>
            <p class="weui_toast_content" id="info">保存成功</p>
        </div>
    </div>
<!--     toast结束 -->
  </body>
  
</html>
